{"version":3,"sources":["carousel_helper.js"],"names":["$","BX","namespace","Landing","SliderHelper","ACTION_INIT","ACTION_ADD","ACTION_REMOVE_SLIDE","ACTION_UPDATE","CAROUSEL_CLASS","ACTIVE_CLASS","editorEnableFlag","init","event","action","relativeSelector","makeCarouselRelativeSelector","sliders","slice","call","block","querySelectorAll","forEach","sliderNode","applySettings","data","isSliderActive","destroy","initBase","goToSlide","setSelection","slickCurrentSlide","slick","saveSelection","excludeClasses","type","isArray","excludeClass","selector","class","parent","find","removeClass","config","accessibility","getMode","infinite","HSCore","components","HSCarousel","carouselClass","carouselSelectors","eventNodes","card","className","split","join","node","currCarousel","findParent","currSelector","classList","cl","indexOf","length","push","s","i","makeRelativeSelector","nodes","Type","isArrayLike","result","hasClass","window","getSelection","rangeCount","range","getRangeAt","savedRange","sCont","startContainer","sOffset","startOffset","eCont","endContainer","eOffset","endOffset","document","createRange","setStart","setEnd","sel","removeAllRanges","addRange","currSlideNumber","parseInt","slideContainer","findNewSlideWhenRemove","dataset","rows","newSlideNumber","slickIndex","goToSlideAfterAdd","goToSlideAfterRemove","goToSlideAfterUpdate","selectorName","selectorIndex","slides","slideNew","isNumber","carouselNode","slidesToShow","Math","min","setEditorEnable","value","isEditorEnable","setAutoplay","setAutoplaySpeed","setPauseOnHover","setAnimation","setAmountSlidesShow","setArrows","setDotsVisible","Dom","attr","parentNode","isInteger","dataSlickAttr","isObject","dots","isBoolean","arrows","setClasses","newArrowClasses","newArrowClassesArr","setClass","includes","index","splice","addClasses","addedClass","animation","removeAttribute","jQueryLanding","jQuery"],"mappings":"CAAC,SAAWA,GAEX,aAEAC,GAAGC,UAAU,2BAEbD,GAAGE,QAAQC,aAAaC,YAAc,OACtCJ,GAAGE,QAAQC,aAAaE,WAAa,MACrCL,GAAGE,QAAQC,aAAaG,oBAAsB,eAC9CN,GAAGE,QAAQC,aAAaI,cAAgB,SAExCP,GAAGE,QAAQC,aAAaK,eAAiB,cACzCR,GAAGE,QAAQC,aAAaM,aAA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